﻿using System.Xml.Serialization;

namespace Toybox.NicoSharp.Seiga
{
	partial class Ranking
	{

		[XmlRoot("response")]
		public class Data
		{
			public int image_count;

			[XmlArrayItem("image")]
			public Image[] image_list;

			[XmlArrayItem("comment")]
			public SeigaComment[] comment_list;

			public string created;
		}

		public class Image
		{

			public int rank;

			public string value;

			public int previous_rank;

			public string ranking_created;

			public string nickname;

			public string id;

			public string user_id;

			public string title;

			public string description;

			public int anonymous_flag;

			public int public_status;

			public int delete_flag;

			public int image_type;

			public int illust_type;

			public string summary;

			public int category;

			public int genre;

			public string category_tag_id;

			public string cache_time;

			public int view_count;

			public int comment_count;

			public int clip_count;

			public string created;

			public string updated;

		}

	}
}
